package com.rxsk.cas.exception;

/**
 * @Deacription JwtTokenException
 */
public class JwtTokenException extends RuntimeException {

    private String code;

    private String message;


    public JwtTokenException(String message) {
        super(message);
    }


    public JwtTokenException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public JwtTokenException(Throwable cause) {
        super(cause);
    }

    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
